import { post } from "../utils/request";
var app = getApp();
//获取类目列表
export const getCategoryList = (params) => {
  return post(app.globalData.apiUrl+'product/getCategoryList',params);
};
    
//获取商品详情
export const getProductDetail = (params) => {
  return post(app.globalData.apiUrl+'product/getProductDetail',params);
};

//获取商品列表
export const getProductList = (params) => {
  return post(app.globalData.apiUrl+'product/getProductList',params);
};

//获取商品sk
export const getProductSku = (params) => {
  return post(app.globalData.apiUrl+'product/getProductSku',params);
};